home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
packages
/
epic
/
picman.tex
/
node10_mn.html
< prev
next >
Wrap
Text File
|
1995-03-15
|
4KB
|
69 lines
<H2><A ID="SECTION00037000000000000000">
The join environments</A>
</H2>
<TT>SYNOPSIS:
</TT>
<BLOCKQUOTE><TT>\jput(<I>x</I>,<I>y</I>){<#165#><I>object</I><#165#>}
</TT></BLOCKQUOTE>
<P>
<BLOCKQUOTE><TT>\begin{dottedjoin}[<#166#><I>optional dotcharacter</I><#166#>]<tex2html_comment_mark>35
{<#167#><I>inter-dot-gap</I><#167#>}
<BR>..... dottedlines drawn here for each <tex2html_verb_mark>70<tex2html_verb_mark> statement.
<BR>\end{dottedjoin}
</TT></BLOCKQUOTE>
<P>
<BLOCKQUOTE><TT>\begin{dashjoin}[<#169#><I>stretch</I><#169#>]<tex2html_comment_mark>36
{<#170#><I>dash-length</I><#170#>}[<#171#><I>inter-dot-gap for dash</I><#171#>]
<BR>..... dashlines drawn here for each <tex2html_verb_mark>71<tex2html_verb_mark> statement.
<BR>\end{dashjoin}
</TT></BLOCKQUOTE>
<P>
<BLOCKQUOTE><TT>\begin{drawjoin}[<#173#><I>stretch</I><#173#>]
<BR>..... drawlines drawn here for each <tex2html_verb_mark>72<tex2html_verb_mark> statement.
<BR>\end{drawjoin}
</TT></BLOCKQUOTE>
<P>
<BLOCKQUOTE><TT></TT></BLOCKQUOTE><TT></TT>
<P>
Three environments, corresponding to the three kinds of lines described
earlier, are also provided. They are <#177#><TT>dottedjoin</TT><#177#>, <#178#><TT>dashjoin</TT><#178#> and
<#179#><TT>drawjoin</TT><#179#>. All the three environments use yet
another new command <tex2html_verb_mark>73<tex2html_verb_mark><A NAME="footfnm2"
HREF="footnode_mn.html#fnm2" TARGET="footer"><SUP>2</SUP></A> (join and put) which is
identical to the regular <tex2html_verb_mark>74<tex2html_verb_mark> command of L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X except that it
behaves differently when in any of the three environments.
<P>
All <#183#><I>objects</I><#183#> put using a <tex2html_verb_mark>75<tex2html_verb_mark> command within the
scope of any of the three environments are, in addition to being plotted,
joined by lines of the respective kind; in other words, a line of the
specified kind is drawn between <#184#><I>points</I><#184#> plotted using <tex2html_verb_mark>76<tex2html_verb_mark>
statement in the order they are encountered; a <#185#><I>point</I><#185#> refers to the <I>x</I>
and <I>y</I> coordinates specified in the <tex2html_verb_mark>77<tex2html_verb_mark> statement. Consecutive
<tex2html_verb_mark>78<tex2html_verb_mark> statements are assumed to define adjacent points --- hence, the
input should be accordingly ordered. Moreover, the plotted point should be in
a <tex2html_verb_mark>79<tex2html_verb_mark> (except, of course, centered <#186#><I>objects</I><#186#> such
as <tex2html_verb_mark>80<tex2html_verb_mark> and <tex2html_verb_mark>81<tex2html_verb_mark>) if it is to be centered on the
specified coordinate; without it the object's bottom-left corner will be at
the specified coordinate. Each instance of any of the three join
environments defines a separate ``curve'' hence every set of points belonging
to different ``curves'' should be enclosed in separate join environments.
<P>
All the parameters, optional and mandatory, other than the coordinates that
go along with the line drawing commands, may be specified after the
<tex2html_verb_mark>82<tex2html_verb_mark> command as its arguments. Currently effective default
values are used when not specified in <#187#><TT>[]</TT><#187#>, and may be changed anytime
using the <tex2html_verb_mark>83<tex2html_verb_mark> as discussed previously.
<P>
The primary motivation for designing the join environments is for use in
plotting graphs and joining different curves by different looking lines.
It is not necessary that the <tex2html_verb_mark>84<tex2html_verb_mark> statements put some object; if
the object is null then one gets only lines --- in such a case it is much
simpler to use the respective line drawing command directly.
<P>